<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="code" uri="http://www.wwinsoft.com/taglibs/code" %>
<%@ taglib prefix="stringDisplay" uri="http://www.wwinsoft.com/taglibs/StringDisplay" %>
<%@ taglib uri="http://struts-menu.sf.net/tag" prefix="menu" %>
<%@ taglib uri="http://struts-menu.sf.net/tag-el" prefix="menu-el" %>


<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<%@ page import="com.wwinsoft.modules.security.springsecurity.SpringSecurityUtils" %>

<c:set var="currentUserFirstName" value="<%=SpringSecurityUtils.getCurrentUserFirstName()%>" scope="request"/>
<c:set var="currentUserName" value="<%=SpringSecurityUtils.getCurrentUserName()%>" scope="request"/>

<c:set var="readonly" value="${task.assignee ==null || !task.assignee eq currentUserName}"/>
